#if !defined(AFX_CONNECTEDSOCKET_H__F6FA9B00_EA27_4A7A_83D8_72E5C0807637__INCLUDED_)
#define AFX_CONNECTEDSOCKET_H__F6FA9B00_EA27_4A7A_83D8_72E5C0807637__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConnectedSocket.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// CConnectedSocket command target

class CConnectedSocket : public CSocket
{
// Attributes
public:
    CDialog* pOwner;
	//CString m_recv;
	CString client_ip;
	CString pic_name;
// Operations
public:
	CConnectedSocket(CDialog* p);
	virtual ~CConnectedSocket();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConnectedSocket)
	public:
	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CConnectedSocket)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
private:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONNECTEDSOCKET_H__F6FA9B00_EA27_4A7A_83D8_72E5C0807637__INCLUDED_)
